updating oE scroll
scroll
include graphics.e namespace graphics public procedure scroll(integer amount, console :positive_int top_line, console :positive_int bottom_line)
scrolls a region of text on the screen.
Parameters:
- amount : an integer, the number of lines by which to scroll. This is >0 to scroll up and <0 to scroll down.
- top_line : the 1-based number of the topmost line to scroll.
- bottom_line : the 1-based number of the bottom-most line to scroll.
Comments:
- New blank lines will appear at the vacated lines.
- You could perform the scrolling operation using a series of calls to puts, but scroll is much faster.
- The position of the cursor after scrolling is not defined.
Example 1:
.../euphoria/bin/ed.ex
See Also:
Not Categorized, Please Help
|